package com.example.questionexam.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * @TableName
 */
@TableName(value ="tb_teacher_exam")
@Data
public class Exam implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 老师名字
     */
    private String teacher_name;

    /**
     * 老师负责班级
     */
    private String teacher_class;

    /**
     * 老师发起考试的权利
     */
    private String exam_quanxian;

    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}